<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>print variable</title>
<?php
$txt1="Learn PHP";
$txt2="W3School.com.cn";
$cars=array("Volvo","BMW","SAAB");

print $txt1;
print "<br>";
print "Study PHP at $txt2";
print "My car is a {$cars[0]}";
?>
</body>
</html>